package com.blqy.fr.model.log;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.blqy.fr.model.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "日志详情")
@TableName("log_detail")
public class LogDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "日志id")
    @TableField("log_id")
    private Long logId;

    @Schema(description = "模板标签id")
    @TableField("template_id")
    private Long templateId;

    @Schema(description = "日志内容")
    @TableField("content")
    private String content;

    @Schema(description = "多行文本的图片url")
    @TableField("image")
    private String image;
}